#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>

int main()
{
    char buff[64];
    int fd = open("filename", O_RDONLY);
    ssize_t s = read(fd, buff, sizeof(buff));
    buff[s] = '\0';
    printf("srever----->client:%s", buff);
    close(fd);
    return 0;
}
